<form id="pay_form" method="post" action="{:U('Order/pay')}">
    <p class="pay-line-list">
        <span class="pay-line-title">单号：</span>
        <span>{$order.order_id}</span>
        <input type="hidden" name="order_id" value="{$order.order_id}"/>
    </p>
    <p class="pay-line-list">
        <span class="pay-line-title">金额：</span>
        <span>{$order[price] - $order[discount]} 元</span>
    </p>
    <p class="pay-line-list">
        <span class="pay-line-title">方式：</span>
        <select name="pay_code" class="pay-type">
            <option value="">选择支付方式</option>
            <foreach name="pay_types" item="t">
                <option value="{$t.pay_code}">{$t.p_name}</option>
            </foreach>
        </select>
    </p>
    <p><input type="submit" value="确认支付" class="button-confirm-payment"/></p>
</form>
<style type="text/css">
    .pay-line-title {
        width:2rem;
    }
    .pay-line-list {
        width: 100%;
        margin:0 0 5px 0;
        padding-bottom: 5px;
        height:28px;
        line-height:28px;
        border-bottom:1px dashed #eee;
    }
    .pay-type {
        border:1px solid #ddd;
        border-radius: 3px;
        height:30px;
        line-height:30px;
    }
    .button-confirm-payment {
        display: block;
        width:150px;
        height:30px;
        line-height: 30px;
        text-decoration: none;
        background: #67dca9;
        color:#fff;
        border:1px solid #67dca9;
        border-radius:3px;
        margin:0 auto;
        text-align: center;
        font-weight: 700;
    }
</style>